﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;

namespace PSE.Framework.UI.Controls.SmartClient
{
    /// <summary>
    /// Classe com comandos para seleção
    /// </summary>
    public class SelectionCommands
    {
        #region Construtor
        /// <summary>
        /// Construtor padrão
        /// </summary>
        protected SelectionCommands()
        {
        }
        #endregion

        private static RoutedUICommand _selectFirstItem = new RoutedUICommand(string.Empty, "SelectFirstItem", typeof(SelectionCommands));
        /// <summary>
        /// Comando que seleciona o primeiro item
        /// </summary>
        public static RoutedUICommand SelectFirstItem
        {
            get { return _selectFirstItem; }
        }

        private static RoutedUICommand _selectPreviousItem = new RoutedUICommand(string.Empty, "SelectPreviousItem", typeof(SelectionCommands));
        /// <summary>
        /// Comando que seleciona o item anterior
        /// </summary>
        public static RoutedUICommand SelectPreviousItem
        {
            get { return _selectPreviousItem; }
        }

        private static RoutedUICommand _selectNextItem = new RoutedUICommand(string.Empty, "SelectNextItem", typeof(SelectionCommands));
        /// <summary>
        /// Comando que seleciona o próximo item
        /// </summary>
        public static RoutedUICommand SelectNextItem
        {
            get { return _selectNextItem; }
        }

        private static RoutedUICommand _selectLastItem = new RoutedUICommand(string.Empty, "SelectLastItem", typeof(SelectionCommands));
        /// <summary>
        /// Comando que seleciona o último item
        /// </summary>
        public static RoutedUICommand SelectLastItem
        {
            get { return _selectLastItem; }
        }
    }
}
